package com.phone.modules.pms.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品查询参数
 * Created by wanghao.
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PmsProductDetailDTO筛选手机数据传输对象", description="用于前台展示，返回手机详情")
public class PmsProductDetailDTO {
    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    @ApiModelProperty(value = "手机名称")
    private String productName;

    @ApiModelProperty(value = "手机图片")
    private String pic;

    @ApiModelProperty(value = "发售日期")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date saleTime;

    @ApiModelProperty(value = "处理器")
    private String processor;

    @ApiModelProperty(value = "测试内存组合")
    private String ramVersion;

    @ApiModelProperty(value = "发售价格")
    private BigDecimal price;

    @ApiModelProperty(value = "测试版本")
    private String systemVersion;


    @ApiModelProperty(value = "五小时重度续航测试剩余电量，单位：%")
    private Integer remainPower;

    @ApiModelProperty(value = "五小时续航+视频播放总续航时长， 单位：h")
    private BigDecimal totalHour;


    @ApiModelProperty(value = "屏幕尺寸，单位：in")
    private BigDecimal screenSize;

    @ApiModelProperty(value = "电池容量，单位：mAh")
    private Integer batteryCapacity;

    @ApiModelProperty(value = "机身厚度， 单位：mm")
    private BigDecimal phoneThickness;

    @ApiModelProperty(value = "机身重量，单位：g")
    private Integer phoneWeight;


    @ApiModelProperty(value = "10分钟充入点亮百分比，单位：%")
    private Integer tenPower;

    @ApiModelProperty(value = "手机前台显示100%充电时间， 单位：min")
    private Integer uiTime;

    @ApiModelProperty(value = "手机玩完全充满时间， 单位：min")
    private Integer totalTime;


    @ApiModelProperty(value = "原神最高画质帧率， 单位：FPS")
    private BigDecimal genshinFps;

    @ApiModelProperty(value = "半小时原神整机平均功耗， 单位：W")
    private BigDecimal genshinConsumption;

    @ApiModelProperty(value = "和平精英流畅画质+90帧的帧率， 单位：FPS")
    private BigDecimal hpFps;

    @ApiModelProperty(value = "和平精英流畅画质+90帧的功耗， 单位：W")
    private BigDecimal hpConsumption;


    @ApiModelProperty(value = "20款应用两轮打开时间，单位：s")
    private Integer openTime;

    @ApiModelProperty(value = "半小时原神最高画质机身最高温度， 单位：℃")
    private BigDecimal genshinHeat;

    @ApiModelProperty(value = "一小时和平精英最高画质机身最高温度， 单位：℃")
    private BigDecimal hpHeat;
}
